import java.lang.Math;
public class Math_test {
    public static void main(String[] args) {
        System.out.println(Math.PI);
        System.out.println(Math.abs(-1));
        System.out.println(Math.floor(100.99));
        System.out.println(Math.ceil(100.00001));
        System.out.println(Math.round(20.4));
        System.out.println(Math.max(99, 98));
        System.out.println(Math.pow(2, 10));
        System.out.println((int)(Math.random()*10));//随机的 1-10
        System.out.println(Math.sqrt(9));
        System.out.println((-5-Math.sqrt(Math.pow(5, 2)-4*2*2))/2);
        System.out.println("x=");
    }
}
